]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH 2/2] imap-hibernate: Use imap-parser API for parsing DONE command
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 22 Apr 2026 09:58:56 +0000 (12:58 +0300)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commitbffc0a8a2798c83b925f8f93331b963091971c80
tree4aa644d34651725ab911fc834a783501f3b8ec0a
parent031e149d4c748659fe3470fb747c1c5878b5a1fb
[PATCH 2/2] imap-hibernate: Use imap-parser API for parsing DONE command

Replace the ad-hoc DONE/IDLE tokenizer with imap-parser.h: use
imap_parser_read_tag() to read the tag and imap_parser_read_word() to
read the DONE and IDLE keywords. This delegates bounds checks and
character validation to the shared parser.

Gbp-Pq: Name 0002-imap-hibernate-Use-imap-parser-API-for-parsing-DONE-.patch
src/imap-hibernate/imap-client.c